load("//eden/scm:targets.bzl", "rust_python_library")

oncall("sapling")

rust_python_library(
    name = "pyindexedlog",
    srcs = glob(["src/**/*.rs"]),
    crate_root = "src/lib.rs",
    deps = [
        "//eden/scm/lib/cpython-ext:cpython-ext",
        "//eden/scm/lib/indexedlog:indexedlog",
        "//eden/scm/saplingnative/bindings/modules/pybytes:pybytes",
    ],
)
